<template>
  <div class="zi">
    御剑乘风来,除魔天地间!
    {{ wh }}======{{ ee }}
    {{ qs }}
    <button @click="fn">我是按钮</button>
    <button @click="fu">按钮改值</button>
    <button @click="ff">点击一步改值</button>
    <br />
  </div>
</template>
<script>
export default {
  name: 'Zi',
  // props:['wh'],
  props: {
    // wh:String,
    // ee:String
    wh: {
      type: String,
      required: false,
      default: '222222',

    },
    ee: {
      type: String,
      required: false,
      default: '222222'
    },
    aqw:{
      type: Number,
    }
  },
  data () {
    return {
      sf: '我是大头儿子',
      qs: 'sssss'
    }
  },
  created () {

  },
  computed: {
  },
  methods: {
    fn () {
      this.$emit('adds', this.qs)
    },
    fu () {
      this.$emit('asdf', '我是237576改变后的值')
    },
    ff(){
      this.$emit('update:aqw',456789)
    }
  }
}
</script>
<style lang='less'  scoped>
</style>
